<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<link rel="stylesheet" href="/assets/css/bootstrap.min.css">
<script src="/assets/js/bootstrap.min.js"></script>
<script src="/assets/js/bin_jsencrypt.js"></script>

<div class="container">
  {{template "header"}}
  <form method="post" action="/getcode">
    <p style="background: red">{{.}}</p>
    <div class="mb-3">
      <label for="exampleInputEmail1" class="form-label">用户名</label>
      <input type="text" name="username" class="form-control" id="username" aria-describedby="emailHelp">
      <div id="email11" class="form-text">We'll never share your email with anyone else.</div>
    </div>
    <button type="submit" class="btn btn-primary">获取验证码</button>
  </form>
  <form method="post" action="/login">
    <p style="background: red">{{.}}</p>
    <div class="mb-3">
      <label for="exampleInputEmail1" class="form-label">用户名</label>
      <input type="text" name="username" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp">
      <div id="emailHelp" class="form-text">We'll never share your email with anyone else.</div>
    </div>
    <div class="mb-3">
      <label for="exampleInputPassword1" class="form-label">验证码</label>
      <input type="password" name="code" class="form-control" id="exampleInputPassword1">
    </div>
    <div class="mb-3 form-check">
      <input type="checkbox" class="form-check-input" id="exampleCheck1">
      <label class="form-check-label" for="exampleCheck1">Check me out</label>
    </div>
    <button type="submit" class="btn btn-primary">登录</button>
  </form>

</div>
</body>
</html>